package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;

import com.ygqh.baby.ao.DataStatus;

public class YgAlipayRefundRecord {
	private Long id;

	private String batchNo;

	private Integer batchNum;

	private String transactionId;

	private Long returnId;

	private String returnCode;

	private BigDecimal refundPrice;

	private BigDecimal refundAccountPrice;

	private String refundReason;

	private Date refundSuccessTime;

	private String returnDetails;

	private Date createTime;

	private String createBy;

	private DataStatus status;

	public YgAlipayRefundRecord() {
		super();
	}

	public YgAlipayRefundRecord(String batchNo, Integer batchNum, String transactionId, Long returnId, String returnCode, BigDecimal refundPrice,
			BigDecimal refundAccountPrice, String refundReason, String createBy) {
		super();
		this.batchNo = batchNo;
		this.batchNum = batchNum;
		this.returnCode = returnCode;
		this.refundPrice = refundPrice;
		this.refundAccountPrice = refundAccountPrice;
		this.returnId = returnId;
		this.transactionId = transactionId;
		this.refundReason = refundReason;
		this.createBy = createBy;
		this.createTime = new Date();
	}

	public String getReturnDetails() {
		return returnDetails;
	}

	public void setReturnDetails(String returnDetails) {
		this.returnDetails = returnDetails;
	}

	public Long getReturnId() {
		return returnId;
	}

	public void setReturnId(Long returnId) {
		this.returnId = returnId;
	}

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getBatchNo() {
		return batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo == null ? null : batchNo.trim();
	}

	public Integer getBatchNum() {
		return batchNum;
	}

	public void setBatchNum(Integer batchNum) {
		this.batchNum = batchNum;
	}

	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode == null ? null : returnCode.trim();
	}

	public BigDecimal getRefundPrice() {
		return refundPrice;
	}

	public void setRefundPrice(BigDecimal refundPrice) {
		this.refundPrice = refundPrice;
	}

	public BigDecimal getRefundAccountPrice() {
		return refundAccountPrice;
	}

	public void setRefundAccountPrice(BigDecimal refundAccountPrice) {
		this.refundAccountPrice = refundAccountPrice;
	}

	public String getRefundReason() {
		return refundReason;
	}

	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason == null ? null : refundReason.trim();
	}

	public Date getRefundSuccessTime() {
		return refundSuccessTime;
	}

	public void setRefundSuccessTime(Date refundSuccessTime) {
		this.refundSuccessTime = refundSuccessTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy == null ? null : createBy.trim();
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

}